package com.MybatisUtil;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils {

    static SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
    public static String format(Date pubtime) {
        return df.format(pubtime);
    }
}
